import axios from 'axios';

const API_URL = 'http://localhost:5000/api';

export const fetchDevelopers = () => {
  return axios.get(`${API_URL}/developers`);
};

export const fetchDeveloper = (devId) => {
  return axios.get(`${API_URL}/developer/${devId}`);
};